<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/tld/c.tld" prefix="c" %>
<%@ taglib uri="/WEB-INF/tld/fmt.tld"  prefix="fmt"%>
<!doctype html>
<html>
<head>
	<meta charset="utf-8">
	<title>道路车辆智能监测系统</title>
	<link href="css/start/jquery-ui-1.10.3.custom.css" rel="stylesheet" id="mycss">
	<link href="css/rvims.css" rel="stylesheet" >
	<script src="js/jquery-1.9.1.js"></script>
	<script src="js/jquery-ui-1.10.3.custom.js"></script>
	
	<script src="js/common.js"></script>
	<script src="js/control.js"></script>
	<script>
		$(function() {
			$( "button" ).button();
			findControlVehicleSearchList(0);
		});
		$(function(){
		  $(".datepicker").datepicker(
		  	{dateFormat:"yy-mm-dd"}
		  );
		});
	</script>
	<style type="text/css">
		#tblSelect td label {float:right}
	</style>
</head>
<body>
	<div id="maindiv">
		<%@ include file="../common/header.jsp"%>
		<div id="content">
			<h3>布控车辆 >> 查询布控车辆</h3>
		<div>
			<div id="sltControlVehicle" style="width:100%;">
				<table id="tblSelect">
					<tr>
						<td><label>号牌号码</label></td>
						<td><input type="text" id="txtHPHM" ></td>
						<td><label style="margin-left:20px;">布控类型</label></td>
						<td>
							<select id="sltBKLX" >
								<option value="">--请选择--</option>
								<c:forEach items="${listControlType}" var="controlType">
									<option value="${controlType.id }">${controlType.name }</option>
								</c:forEach>
							</select>
						</td>
						<td rowspan="3">
							<button style="margin-left:20px;" onclick="findControlVehicleSearchList()">查询</button>
							<button style="margin-left:20px;"onclick="clearInput('sltControlVehicle');">重置</button>		
						</td>
					</tr>
					<tr>
						<td><label style="margin-left:20px;">车辆分类</label></td>
						<td>
							<select id="sltCLLX" >
								<option value="">--请选择--</option>	
								<c:forEach items="${listVehicleType}" var="vehicleType">
									<option value="${vehicleType.id }">${vehicleType.name }</option>
								</c:forEach>			
							</select>
						</td>
						<td><label>号牌种类</label></td>
						<td>
							<select id="sltHPZL" >
								<option value="">--请选择--</option>
								<c:forEach items="${listLicencePlateType}" var="licencePlateType">
									<option value="${licencePlateType.id }">${licencePlateType.name }</option>
								</c:forEach>
							</select>
						</td>
					</tr>
					<tr>
						<td><label style="margin-left:20px;">生效时间</label></td>
						<td><input type="text" id="strBeginTime" class="datepicker" readonly="readonly"/></td>
						<td><label style="margin-left:20px;">到</label></td>
						<td><input type="text"   id="strEndTime" class="datepicker" readonly="readonly"></td>
					</tr>
					 
					<tr>
						<td><label style="margin-left:20px;">截止时间</label></td>
						<td><input type="text" id="strBeginTime1" class="datepicker" readonly="readonly"/></td>
						<td><label style="margin-left:20px;">到</label></td>
						<td><input type="text"   id="strEndTime1" class="datepicker" readonly="readonly" ></td>
					</tr>
					 					
				</table>
				
				
			</div>
				<div style="width:100%;height:40px;">
					<button style="float:left;" onclick="window.location.href='showControlVehicleAdd.do'">添加</button>
					<button style="float:left;margin-left:10px;" onclick="showControlVehicleEdit()">修改</button>
					<button style="float:left;margin-left:10px;" onclick="showControlVehicleView()">查看</button>
					<button style="float:left;margin-left:10px;" onclick="deleteControlVehicleById()">删除</button>
				</div>
				<form id="fmControlVehicle"  method="post"><input type="hidden" id="controlVehicleId" name="controlVehicleId"></form>
				<div id="listControlVehicleBox" style="width:100%;">
				
				</div>
			</div>
		</div>
		<%@ include file="../common/footer.jsp"%>
	</div>
</body>
</html>